<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta name="description" content="">
        <meta name="author" content="">
        <link rel="icon" href="../../favicon.ico"/>
        <title>Schedule</title>
        <link href="resources/css/bootstrap.min.css" rel="stylesheet"/>
        <link href="resources/css/general.css" rel="stylesheet"/>
        <link href="resources/css/payment.css" rel="stylesheet"/>
        <script type="text/javascript" src="resources/js/jquery-2.1.1.min.js"></script>
        <script type="text/javascript" src="resources/js/payment.js"></script>
    </head>

    <body>
        <jsp:include page="nav-bar.jsp" />
        <div class="container">
            <h4>Receipt</h4>
            <h3>Thank you for the payment</h3>

            Please note down the Shipping Reference number for Tracking purposes.

            <ul class="list-group">
                <li class="list-group-item">
                    Reference ID:<span class="badge">${payment.id}</span>
                </li>
                <li class="list-group-item">
                    Ship Name:<span class="badge">${payment.declaration.schedule.ship.name}</span>
                </li>
                <li class="list-group-item">
                    Departure Port:<span class="badge">${payment.declaration.schedule.departurePort}</span>
                </li>
                <li class="list-group-item">
                    Departure Date:<span class="badge">${payment.declaration.schedule.departureDate}</span>
                </li>
                <li class="list-group-item">
                    Arrival Port:<span class="badge">${payment.declaration.schedule.arrivalPort}</span>
                </li>
                <li class="list-group-item">
                    Arrival Time:<span class="badge">${payment.declaration.schedule.arrivalDate}</span>
                </li>
                <li class="list-group-item">
                    Exporter:<span class="badge">${payment.declaration.exporter.firstName} ${payment.declaration.exporter.lastName}</span>
                </li>
                <li class="list-group-item">
                    Exp. Email<span class="badge">${payment.declaration.exporter.email}</span>
                </li>
                <li class="list-group-item">
                    Importer:<span class="badge">${payment.declaration.importer.firstName} ${payment.declaration.importer.lastName}</span>
                </li>
                <li class="list-group-item">
                    Imp. Email:<span class="badge">${payment.declaration.importer.email}</span>
                </li>
                <li class="list-group-item">
                    Shipment Details:<span class="badge">${payment.declaration.details}</span>
                </li>
                <li class="list-group-item">
                    Container Type:<span class="badge">${payment.declaration.containerType}</span>
                </li>
                <li class="list-group-item">
                    Shipment Category:<span class="badge">${payment.declaration.category}</span>
                </li>
                <li class="list-group-item">
                    Amount:<span class="badge">${payment.amount}</span>
                </li>
            </ul>
        </div>
    </body>
</html>
